class AuthEntity {
  String typeName; //权限类型名称
  String id; //ID
  String name; //名称
  String type; //权限类型
  String url; //链接网址
  String icoUrl; //图标网址
  String hintTxt; //提示文本
  String remark; //备注
  String seq; //顺序

  AuthEntity(
      {this.typeName,
      this.id,
      this.name,
      this.type,
      this.url,
      this.icoUrl,
      this.hintTxt,
      this.remark,
      this.seq});

  AuthEntity.fromJson(Map<String, dynamic> json) {
    typeName = json['typeName'];
    id = json['id'];
    name = json['name'];
    type = json['type'];
    url = json['url'];
    icoUrl = json['icoUrl'];
    hintTxt = json['hintTxt'];
    remark = json['remark'];
    seq = json['seq'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['typeName'] = this.typeName;
    data['id'] = this.id;
    data['name'] = this.name;
    data['type'] = this.type;
    data['url'] = this.url;
    data['icoUrl'] = this.icoUrl;
    data['hintTxt'] = this.hintTxt;
    data['remark'] = this.remark;
    data['seq'] = this.seq;
    return data;
  }
}
